package org.idontknow.heritence;

class Parent {

  protected static String[] dataArray = new String[10];
  
  public Parent() {
    
    System.out.println("Entering constructor of parent class...");
    System.out.println("Function \"test\" is being called...");
    test();
    System.out.println("Quitting constructor of parent class...\n");
  }

  public void test() {

    System.out.println("Entering function \"test\" of parent class...");
    System.out.println("This method is not overrided for sure :)");
    System.out.println("Quitting function \"test\" of parent class...");
  }
}
    
    
